lithium\tests\mocks\data\MockProduct::attribute PHP Méthode

attribute() public static méthode

public static attribute ( $name )
    public static function attribute($name)
    {
        $self = static::_object();
        return isset($self->{$name}) ? $self->{$name} : null;
    }