ManaPHP\Mvc\Model\MetadataInterface::hasAttribute PHP Méthode

hasAttribute() public méthode

Check if a model has certain attribute
public hasAttribute ( string | ManaPHP\Mvc\ModelInterface $model, string $attribute ) : boolean
$model string | ManaPHP\Mvc\ModelInterface
$attribute string
Résultat boolean
    public function hasAttribute($model, $attribute);