public hasAttribute (Phalcon\Mvc\ModelInterface $model, mixed $attribute)
Check if a model has certain attribute
var_dump($metaData->hasAttribute(new Robots(), 'name'));
public hasAttribute (Phalcon\Mvc\ModelInterface $model, mixed $attribute)
Check if a model has certain attribute
var_dump($metaData->hasAttribute(new Robots(), 'name'));
Please login to continue.