Exemple #1
0
 /**
  * @param string $item
  *
  * @return bool
  */
 public function has($item)
 {
     if (!$this->isLoaded()) {
         $this->load();
     }
     return parent::has($item);
 }
Exemple #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);
 }
Exemple #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);
 }