登陆验证案例,登陆验证案例,登陆验证案例,登陆验证案例
<?php
require 'container.php';
class Facade
{
public static function initialize(Container $container)
{
static::$container = $container;
}
protected static $container = null;
public static function connect(Container $container)
{
return $container->make('db')->connect();
}
public static function check(Container $container)
{
return $container->make('validate')->check();
}
public static function display()
{
return $container->make('view')->display;
}
}