Skip to content

appzcoder/aliasify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

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

About

PHP Class Alias Maker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages