original_string: public function alterSelectbox(MethodInvocation $invocation)
      {
          $helper = $invocation->getThis();
          list($fieldName, $options, $attributes) = array_pad($invocation->getArguments(), 3, null);
          $options = $options === null ? [] : $options;
          $attributes = (array)$attributes;
          $attributes = $this->_addClass($helper, $attributes, 'form-control');
  
          $this->setProperty($invocation, 'arguments', [$fieldName, $options, $attributes]);
  
          return $invocation->proceed();
      }
code: public function alterSelectbox(MethodInvocation $invocation)
      {
          $helper = $invocation->getThis();
          list($fieldName, $options, $attributes) = array_pad($invocation->getArguments(), 3, null);
          $options = $options === null ? [] : $options;
          $attributes = (array)$attributes;
          $attributes = $this->_addClass($helper, $attributes, 'form-control');
  
          $this->setProperty($invocation, 'arguments', [$fieldName, $options, $attributes]);
  
          return $invocation->proceed();
      }
code_tokens: public function alterSelectbox ( MethodInvocation $ invocation ) { $ helper = $ invocation -> getThis ( ) ; list ( $ fieldName , $ options , $ attributes ) = array_pad ( $ invocation -> getArguments ( ) , 3 , null ) ; $ options = $ options === null ? [ ] : $ options ; $ attributes = ( array ) $ attributes ; $ attributes = $ this -> _addClass ( $ helper , $ attributes , 'form-control' ) ; $ this -> setProperty ( $ invocation , 'arguments' , [ $ fieldName , $ options , $ attributes ] ) ; return $ invocation -> proceed ( ) ; }
docstring: Appends some CSS classes to select elements.
  
  @param \Go\Aop\Intercept\MethodInvocation $invocation Invocation
  @Around("execution(public Cake\View\Helper\FormHelper->select(*))")
  @return bool Whether object invocation should proceed or not
docstring_tokens: Appends some CSS classes to select elements .