src/FS/File/Permissions.php
public function getAsString()
	{
		$permissions	= @fileperms( $this->pathName );
		if( FALSE === $permissions )
			throw new InvalidArgumentException( 'Could not get permissions of file "'.$this->pathName.'"' );
		return self::getStringFromOctal( $permissions );
	}
public function getAsString()
	{
		$permissions	= @fileperms( $this->pathName );
		if( FALSE === $permissions )
			throw new InvalidArgumentException( 'Could not get permissions of file "'.$this->pathName.'"' );
		return self::getStringFromOctal( $permissions );
	}
public function getAsString ( ) { $ permissions = @ fileperms ( $ this -> pathName ) ; if ( FALSE === $ permissions ) throw new InvalidArgumentException ( 'Could not get permissions of file "' . $ this -> pathName . '"' ) ; return self :: getStringFromOctal ( $ permissions ) ; }
Returns permissions as string value.
@access		public
@return		string		String value of permissions of current file
@throws		RuntimeException if no valid file is set
Returns permissions as string value .