index = $index; parent::__construct( sprintf( 'No atom defined for index %s.', var_export($index, true) ), 0, $previous ); } /** * Get the requested atom index. * * @return string The requested index. */ public function index() { return $this->index; } private $index; }