PHP code example of devnull-ir / facades

1. Go to this page and download the library: Download devnull-ir/facades library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

devnull-ir / facades example snippets






namespace Facades;

class TestFacade extends Facade
{
    /**
     * @return string
     */
    public static function setNameSpace(): string
    {
        return Test::class; // TODO: Change the autogenerated stub
    }
}



namespace Facades;


/**
 * Method for Test Class
 *
 * @method static string string()
 * @method static string abs()
 */
class TestFacade extends Facade
{
    /**
     * @return string
     */
    public static function setNameSpace(): string
    {
        return Test::class; // TODO: Change the autogenerated stub
    }
}