public function getAttribute($name)
    {
        foreach (self::$mutation_handlers as $controller) {
            $controller->setModel($this);
            if ($controller->hasGetMutator($name)) {
                return $controller->callGetMutator($name);
            }
        }

        return parent::getAttribute($name);
    }
public function getAttribute($name)
    {
        foreach (self::$mutation_handlers as $controller) {
            $controller->setModel($this);
            if ($controller->hasGetMutator($name)) {
                return $controller->callGetMutator($name);
            }
        }

        return parent::getAttribute($name);
    }
public function getAttribute ( $ name ) { foreach ( self :: $ mutation_handlers as $ controller ) { $ controller -> setModel ( $ this ) ; if ( $ controller -> hasGetMutator ( $ name ) ) { return $ controller -> callGetMutator ( $ name ) ; } } return parent :: getAttribute ( $ name ) ; }
Get attribute.

@param mixed $name

@return mixed
Get attribute .