/** * Component is not bound. * * @param ComponentInterface $component * @param string $operation * * @return WorkflowException */ public static function unboundComponent(ComponentInterface $component, $operation) { return new self(sprintf('"%s" component must be bound before %s operation.', $component->getName(), $operation)); }
/** * Renders a datagrid component. * * @param ComponentInterface $component * @param array $options * * @return string */ public function renderComponent(ComponentInterface $component, array $options = array()) { return $component->render($this->renderer, $options); }