protected function parseVisibility( $visibility )
	{
		if ( is_null( $visibility ) )
			return null;

		switch ( $visibility )
		{
			case FilesystemContract::VISIBILITY_PUBLIC:
				return AdapterInterface::VISIBILITY_PUBLIC;
			case FilesystemContract::VISIBILITY_PRIVATE:
				return AdapterInterface::VISIBILITY_PRIVATE;
		}

		throw new InvalidArgumentException( 'Unknown visibility: ' . $visibility );
	}
protected function parseVisibility( $visibility )
	{
		if ( is_null( $visibility ) )
			return null;

		switch ( $visibility )
		{
			case FilesystemContract::VISIBILITY_PUBLIC:
				return AdapterInterface::VISIBILITY_PUBLIC;
			case FilesystemContract::VISIBILITY_PRIVATE:
				return AdapterInterface::VISIBILITY_PRIVATE;
		}

		throw new InvalidArgumentException( 'Unknown visibility: ' . $visibility );
	}
protected function parseVisibility ( $ visibility ) { if ( is_null ( $ visibility ) ) return null ; switch ( $ visibility ) { case FilesystemContract :: VISIBILITY_PUBLIC : return AdapterInterface :: VISIBILITY_PUBLIC ; case FilesystemContract :: VISIBILITY_PRIVATE : return AdapterInterface :: VISIBILITY_PRIVATE ; } throw new InvalidArgumentException ( 'Unknown visibility: ' . $ visibility ) ; }
Parse the given visibility value.

@param  string|null $visibility
@return string|null

@throws \InvalidArgumentException
Parse the given visibility value .