Exemple #1
0
 /**
  * @param string $path
  * @return integer
  */
 public function getSize($path)
 {
     if ($this->_adapter instanceof CM_File_Filesystem_Adapter_SizeCalculatorInterface) {
         return $this->_adapter->getSize($path);
     } else {
         return mb_strlen($this->read($path), '8bit');
     }
 }