public function __construct(Reader $reader, $name = null) { $this->name = $name; $this->reader = $reader; // Defaults $this->logger = new NullLogger(); $this->steps = new \SplPriorityQueue(); }