original_string: protected function _loadPermissions()
      {
          if (empty($this->_permissions)) {
              $permissions = TableRegistry::get('Content.ContentTypePermissions')
                  ->find()
                  ->where(['content_type_id' => $this->get('id')])
                  ->toArray();
              $this->_permissions = collection($permissions);
          }
      }
code: protected function _loadPermissions()
      {
          if (empty($this->_permissions)) {
              $permissions = TableRegistry::get('Content.ContentTypePermissions')
                  ->find()
                  ->where(['content_type_id' => $this->get('id')])
                  ->toArray();
              $this->_permissions = collection($permissions);
          }
      }
code_tokens: protected function _loadPermissions ( ) { if ( empty ( $ this -> _permissions ) ) { $ permissions = TableRegistry :: get ( 'Content.ContentTypePermissions' ) -> find ( ) -> where ( [ 'content_type_id' => $ this -> get ( 'id' ) ] ) -> toArray ( ) ; $ this -> _permissions = collection ( $ permissions ) ; } }
docstring: Loads ll permissions rules for this content type.
  
  @return void
docstring_tokens: Loads ll permissions rules for this content type .