public function addTarget($adapter)
    {
        $this->addDefinition(
            'targets',
            is_callable($adapter) ? new CallbackAdapter(null, $adapter) : $adapter
        );

        return $this;
    }