BuildDirTrait
Trait BuildDirTrait
Table of Contents
Properties
- $_buildDir : string
Methods
- createBuildDir() : void
- attempts to create the build dir
- getBuildDir() : string
- returns the full (real) path to the given build path
- getBuildFileContent() : string
- returns the contents of the given build file
- getBuildFilePath() : string
- returns the full (real) path to the given build file
- getBuildPath() : string
- returns the full raw path to the build dir
Properties
$_buildDir
private
string
$_buildDir
= __DIR__ . '/../.build/'
Methods
createBuildDir()
attempts to create the build dir
protected
createBuildDir(string $subPath) : void
Parameters
- $subPath : string
Tags
getBuildDir()
returns the full (real) path to the given build path
protected
getBuildDir([string $subPath = '' ]) : string
Parameters
- $subPath : string = ''
Tags
Return values
stringgetBuildFileContent()
returns the contents of the given build file
protected
getBuildFileContent(string $fileSubPath) : string
Parameters
- $fileSubPath : string
Tags
Return values
stringgetBuildFilePath()
returns the full (real) path to the given build file
protected
getBuildFilePath(string $fileSubPath) : string
Parameters
- $fileSubPath : string
Tags
Return values
stringgetBuildPath()
returns the full raw path to the build dir
protected
getBuildPath(string $subPath) : string
Parameters
- $subPath : string