GrumPHP\Configuration\GrumPHP::getBinDir PHP Method

getBinDir() public method

public getBinDir ( ) : string
return string
    public function getBinDir()
    {
        return $this->container->getParameter('bin_dir');
    }

Usage Example

Example #1
0
 /**
  * Find the relative bin directory
  *
  * @return string
  */
 public function getBinDir()
 {
     $binDir = $this->config->getBinDir();
     if (!$this->fileSystem->exists($binDir)) {
         throw new RuntimeException('The configured BIN directory could not be found.');
     }
     return $this->getRelativePath($binDir);
 }
All Usage Examples Of GrumPHP\Configuration\GrumPHP::getBinDir