phalconplus Documentation v1.0.0-alpha
Class
Class PhalconPlus Assert

# InvalidArgumentException

    namespace PhalconPlus\Assert;

    class InvalidArgumentException extends \InvalidArgumentException implements AssertionFailedException
    {
        private propertyPath;
        private value;
        private constraints;

        public function __construct(message, code, propertyPath = null, value, array constraints = [])
        {
            parent::__construct(message, code);
            let this->propertyPath = propertyPath;
            let this->value = value;
            let this->constraints = constraints;
        }

        public function getPropertyPath()
        {
            return this->propertyPath;
        }

        public function getValue()
        {
            return this->value;
        }

        public function getConstraints()
        {
            return this->constraints;
        }
    }