create() public méthode

Create the specified folder.
public create ( string $folder ) : null
$folder string The folder to create.
Résultat null
Exemple #1
0
 /**
  * Create the specified folder.
  *
  * @param string $folder The folder to create.
  *
  * @return NULL
  */
 public function create($folder)
 {
     $this->_timer->push();
     $result = parent::create($folder);
     $this->_logger->debug(sprintf('REQUEST OUT IMAP: %s ms [createFolder]', floor($this->_timer->pop() * 1000)));
 }
Exemple #2
0
 /**
  * Create the specified folder.
  *
  * @param string $folder The folder to create.
  *
  * @return NULL
  */
 public function create($folder)
 {
     $this->_logger->debug(sprintf('Driver "%s": Creating folder %s.', $this->getDriverName(), $folder));
     $result = parent::create($folder);
     $this->_logger->debug(sprintf('Driver "%s": Successfully created folder %s.', $this->getDriverName(), $folder));
 }