public static function create(array $parsed)
    {
        $result = new Directory();
        $name = Utilities::tryGetValue($parsed, Resources::QP_NAME);
        $result->setName($name);

        return $result;
    }
public static function create(array $parsed)
    {
        $result = new Directory();
        $name = Utilities::tryGetValue($parsed, Resources::QP_NAME);
        $result->setName($name);

        return $result;
    }
public static function create ( array $ parsed ) { $ result = new Directory ( ) ; $ name = Utilities :: tryGetValue ( $ parsed , Resources :: QP_NAME ) ; $ result -> setName ( $ name ) ; return $ result ; }
Creates a Directory object using the parsed array.

@param  array $parsed The parsed array that contains the object information.

@return Directory
Creates a Directory object using the parsed array .