ManaPHP\Mvc\Model\MetadataInterface::hasAttribute PHP Method

hasAttribute() public method

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