src/package/Data/Repositories/Support/Helpers.php
public function addProjectRootPath($fileName, $suite)
    {
        if (starts_with($fileName, DIRECTORY_SEPARATOR) || empty($suite)) {
            return $fileName;
        }

        return $suite->project->path.DIRECTORY_SEPARATOR.$fileName;
    }
public function addProjectRootPath($fileName, $suite)
    {
        if (starts_with($fileName, DIRECTORY_SEPARATOR) || empty($suite)) {
            return $fileName;
        }

        return $suite->project->path.DIRECTORY_SEPARATOR.$fileName;
    }
public function addProjectRootPath ( $ fileName , $ suite ) { if ( starts_with ( $ fileName , DIRECTORY_SEPARATOR ) || empty ( $ suite ) ) { return $ fileName ; } return $ suite -> project -> path . DIRECTORY_SEPARATOR . $ fileName ; }
Add project root to path.

@param $fileName
@param $suite

@return string
Add project root to path .