Sstalle\php7cc\PathCheckSettings::getUseRelativePaths PHP Method

getUseRelativePaths() public method

public getUseRelativePaths ( ) : boolean
return boolean
    public function getUseRelativePaths()
    {
        return $this->useRelativePaths;
    }

Usage Example

Ejemplo n.º 1
0
 /**
  * @param PathCheckSettings $checkSettings
  */
 public function check(PathCheckSettings $checkSettings)
 {
     $this->visitorResolver->setLevel($checkSettings->getMessageLevel());
     foreach ($this->visitorResolver->resolve() as $visitor) {
         $this->traverser->addVisitor($visitor);
     }
     $this->pathChecker->check($this->pathTraversableFactory->createTraversable($checkSettings->getCheckedPaths(), $checkSettings->getCheckedFileExtensions(), $checkSettings->getExcludedPaths()), $checkSettings->getUseRelativePaths());
 }