Beispiel #1
0
 /**
  * @param string $item
  *
  * @return bool
  */
 public function has($item)
 {
     if (!$this->isLoaded()) {
         $this->load();
     }
     return parent::has($item);
 }
Beispiel #2
0
 /**
  * @param string                     $path
  * @param FileSystemHandlerInterface $fileSystemHandlerInterface
  * @param string|null                $value
  */
 public function __construct($path, FileSystemHandlerInterface $fileSystemHandlerInterface, $value)
 {
     parent::__construct($path, $fileSystemHandlerInterface);
     $this->setValue($value);
 }
Beispiel #3
0
 /**
  * @param string                     $path
  * @param FileSystemHandlerInterface $fileSystemHandlerInterface
  * @param array                      $values
  */
 public function __construct($path, FileSystemHandlerInterface $fileSystemHandlerInterface, array $values)
 {
     parent::__construct($path, $fileSystemHandlerInterface);
     $this->applyValue($values);
 }