Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 384 Bytes

README.md

File metadata and controls

27 lines (22 loc) · 384 Bytes

Class Alias Maker

Class Alias Maker

Usage

class Person
{
    public function getFullName()
    {
        return 'Sohel Amin';
    }
}

class PersonFacade extends \Appzcoder\Aliasify\Facade
{
    public static function getFacadeAccessor()
    {
        return 'person';
    }
}

var_dump(PersonFacade::getFullName());

##Author

Sohel Amin