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