public function id($target)
    {
        if (null === $this->currentDependency) {
            throw new Doozr_Form_Service_Exception(
                sprintf('Please call className() before trying to set an Id via %s', __METHOD__)
            );
        }

        return $this->target($target);
    }
public function id($target)
    {
        if (null === $this->currentDependency) {
            throw new Doozr_Form_Service_Exception(
                sprintf('Please call className() before trying to set an Id via %s', __METHOD__)
            );
        }

        return $this->target($target);
    }
public function id ( $ target ) { if ( null === $ this -> currentDependency ) { throw new Doozr_Form_Service_Exception ( sprintf ( 'Please call className() before trying to set an Id via %s' , __METHOD__ ) ) ; } return $ this -> target ( $ target ) ; }
Setter for the target of the dependency class.

This method is intend to set the target of the dependency class.

@param string $target The target of the dependency class

@author Benjamin Carl <opensource@clickalicious.de>

@return Doozr_Di_Map_Fluent Instance of this class (for method chaining)
Setter for the target of the dependency class .