/**
  * @param $rawData
  */
 public function setRawData($rawData)
 {
     parent::setRawData($rawData);
     $this->parseRawData();
 }
 /**
  * @param string $urn
  * @return bool
  */
 public function canHandle($urn)
 {
     return parent::canHandle($urn) || 1 === preg_match('~http:\\/\\/webpbn\\.com\\/XMLpuz\\.cgi\\?id=[0-9]+~', $urn);
 }
 /**
  * LevelParserDat constructor.
  * @param \Nonogram\Cell\Factory $cellFactory
  */
 public function __construct(\Nonogram\Label\Factory $labelFactory, \Nonogram\Cell\Factory $cellFactory)
 {
     $this->cellFactory = $cellFactory;
     parent::__construct($labelFactory);
 }
 /**
  * LevelParserYaml constructor.
  * @param \Nonogram\Label\Factory $labelFactory
  * @param \Symfony\Component\Yaml\Parser $yamlParser
  */
 public function __construct(\Nonogram\Label\Factory $labelFactory, \Symfony\Component\Yaml\Parser $yamlParser)
 {
     $this->yamlParser = $yamlParser;
     parent::__construct($labelFactory);
 }