You are viewing documentation for an outdated version. It is no longer supported!

Enforce Via Interface

Should your component's design require one or more specific Laravel components, then you can choose to enforce your component's design by making use of the complementary Aware-of Helper interfaces.

use Aedart\Support\Helpers\Config\ConfigTrait;
use Aedart\Contracts\Support\Helpers\Config\ConfigAware;

class Box implements ConfigAware 
{
    use ConfigTrait;
    
    // ... remaining not shown ... //
}