.. rst-class:: phpdoctorst
.. role:: php(code)
:language: php
NameTrait
=========
.. php:namespace:: atk4\core
.. php:trait:: NameTrait
.. rst-class:: phpdoc-description
| This trait makes it possible to set name of your object\.
:Source:
`vendor/atk4/core/src/NameTrait.php#8 <https://github.com/atk4/core/blob/master/vendor/atk4/core/src/NameTrait.php#L8>`_
Properties
----------
.. php:attr:: public static _nameTrait
.. rst-class:: phpdoc-description
| Check this property to see if trait is present in the object\.
:Source:
`vendor/atk4/core/src/NameTrait.php#15 <https://github.com/atk4/core/blob/master/vendor/atk4/core/src/NameTrait.php#L15>`_
:Type: bool
.. php:attr:: public static name
.. rst-class:: phpdoc-description
| Unique object name\.
:Source:
`vendor/atk4/core/src/NameTrait.php#22 <https://github.com/atk4/core/blob/master/vendor/atk4/core/src/NameTrait.php#L22>`_
:Type: string
|