public function listen( Listener $listener ) {

		if ( isset( $this->listeners[ $listener->get_tag() ] ) ) {
			return false;
		}

		$this->listeners[ $listener->get_tag() ] = $listener;

		return true;
	}
public function listen( Listener $listener ) {

		if ( isset( $this->listeners[ $listener->get_tag() ] ) ) {
			return false;
		}

		$this->listeners[ $listener->get_tag() ] = $listener;

		return true;
	}
public function listen ( Listener $ listener ) { if ( isset ( $ this -> listeners [ $ listener -> get_tag ( ) ] ) ) { return false ; } $ this -> listeners [ $ listener -> get_tag ( ) ] = $ listener ; return true ; }
Listen for a template tag.

@since 1.0

@param Listener $listener

@return bool
Listen for a template tag .