ActiveRecord\Errors::__construct PHP Method

__construct() public method

Constructs an {@link Errors} object.
public __construct ( ActiveRecord\Model $model ) : Errors
$model ActiveRecord\Model The model the error is for
return Errors
    public function __construct(Model $model)
    {
        $this->model = $model;
    }