original_string: public function allow($actions = null)
      {
          if ($actions === null) {
              $controller = $this->_registry->getController();
              $this->allowedActions = get_class_methods($controller);
  
              return;
          }
          $this->allowedActions = array_merge($this->allowedActions, (array)$actions);
      }
code: public function allow($actions = null)
      {
          if ($actions === null) {
              $controller = $this->_registry->getController();
              $this->allowedActions = get_class_methods($controller);
  
              return;
          }
          $this->allowedActions = array_merge($this->allowedActions, (array)$actions);
      }
code_tokens: public function allow ( $ actions = null ) { if ( $ actions === null ) { $ controller = $ this -> _registry -> getController ( ) ; $ this -> allowedActions = get_class_methods ( $ controller ) ; return ; } $ this -> allowedActions = array_merge ( $ this -> allowedActions , ( array ) $ actions ) ; }
docstring: Takes a list of actions in the current controller for which authentication is not required, or
  no parameters to allow all actions.
  
  You can use allow with either an array or a simple string.
  
  ```
  $this->Auth->allow('view');
  $this->Auth->allow(['edit', 'add']);
  ```
  or to allow all actions
  ```
  $this->Auth->allow();
  ```
  
  @param string|array|null $actions Controller action name or array of actions
  @return void
  @link https://book.cakephp.org/3.0/en/controllers/components/authentication.html#making-actions-public
docstring_tokens: Takes a list of actions in the current controller for which authentication is not required or no parameters to allow all actions .