open-orchestra/open-orchestra-libs

View on GitHub
Mapping/Exceptions/PropertyNotFoundException.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace OpenOrchestra\Mapping\Exceptions;

/**
 * Class PropertyNotFoundException
 */
class PropertyNotFoundException extends \Exception
{
    /**
     * @param string $property
     * @param string $class
     */
    public function __construct($property = "", $class = "")
    {
        parent::__construct(
            sprintf('Annotation Error : property %s is missing in annotation for class %s.', $property, $class)
        );
    }
}