public function __construct(Format\AbstractFormat $adapter) { $this->adapter = $adapter; $this->adapter->parse(); }