ActiveRecord\Errors::__construct PHP Méthode

__construct() public méthode

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