open-orchestra/open-orchestra-libs

View on GitHub
Mapping/Exceptions/MethodNotFoundException.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace OpenOrchestra\Mapping\Exceptions;

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