public function get(string $beanId)
    {
        if (!isset($this->beans[$beanId])) {
            throw new \InvalidArgumentException(
                sprintf('Bean "%s" not defined in store!', $beanId)
            );
        }

        return $this->beans[$beanId];
    }
public function get(string $beanId)
    {
        if (!isset($this->beans[$beanId])) {
            throw new \InvalidArgumentException(
                sprintf('Bean "%s" not defined in store!', $beanId)
            );
        }

        return $this->beans[$beanId];
    }
public function get ( string $ beanId ) { if ( ! isset ( $ this -> beans [ $ beanId ] ) ) { throw new \ InvalidArgumentException ( sprintf ( 'Bean "%s" not defined in store!' , $ beanId ) ) ; } return $ this -> beans [ $ beanId ] ; }
{@inheritdoc}
{