original_string: public function dirs($resource, $recursive = false, $filter = null)
      {
          return $this->ls($resource, self::LS_MODE_DIR, $recursive, $filter);
      }
code: public function dirs($resource, $recursive = false, $filter = null)
      {
          return $this->ls($resource, self::LS_MODE_DIR, $recursive, $filter);
      }
code_tokens: public function dirs ( $ resource , $ recursive = false , $ filter = null ) { return $ this -> ls ( $ resource , self :: LS_MODE_DIR , $ recursive , $ filter ) ; }
docstring: Get a list of directories from a resource.
  
  @param string $resource
  @param bool $recursive
  @param null $filter
  @return mixed
docstring_tokens: Get a list of directories from a resource .