public function setDirectoryToParse($value)
    {
        $this->directoryToParse = trim(str_replace(DIRECTORY_SEPARATOR, '/', trim((string) $value)), '/');

        return $this;
    }
public function setDirectoryToParse($value)
    {
        $this->directoryToParse = trim(str_replace(DIRECTORY_SEPARATOR, '/', trim((string) $value)), '/');

        return $this;
    }
public function setDirectoryToParse ( $ value ) { $ this -> directoryToParse = trim ( str_replace ( DIRECTORY_SEPARATOR , '/' , trim ( ( string ) $ value ) ) , '/' ) ; return $ this ; }
Set the path to the directory to be parsed.

@param string $value

@return static
Set the path to the directory to be parsed .