PHPackages                             seotils/has-parent - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. seotils/has-parent

ActiveLibrary

seotils/has-parent
==================

The trait allows set and get parent class of instance.

0.0.3(9y ago)1301GPL-3.0PHPPHP &gt;=5.6.0

Since Sep 3Pushed 9y ago1 watchersCompare

[ Source](https://github.com/seotils/has-parent)[ Packagist](https://packagist.org/packages/seotils/has-parent)[ Docs](https://github.com/seotils/has-parent)[ RSS](/packages/seotils-has-parent/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (4)Used By (1)

HasParent
=========

[](#hasparent)

Description
-----------

[](#description)

This trait assigns parent to a class.

License
-------

[](#license)

HasParent is open-sourced software licensed under the \[GPL-3.0\] ().

Requirements
------------

[](#requirements)

Package depends on ***deferred-exceptions*** package.

1. GitHub:

    - \[seotils/deferred-exceptions\] ()
2. Composer (packagist.org):

    - \[seotils/deferred-exceptions\] ()
3. PHPClasses:

    - \[Deferred Exceptions\] ()

Install
-------

[](#install)

```
composer require seotils/has-parent
```

Usage
-----

[](#usage)

```
