Imbo\Model\Stats::setNumBytes PHP Method

setNumBytes() public method

Set the number of bytes stored in Imbo
public setNumBytes ( integer $numBytes ) : Stats
$numBytes integer The number of bytes stored in Imbo
return Stats
    public function setNumBytes($numBytes)
    {
        $this->numBytes = $numBytes;
        return $this;
    }

Usage Example

Ejemplo n.º 1
0
 /**
  * @dataProvider getStatsData
  * @covers Imbo\Model\Stats::setNumBytes
  * @covers Imbo\Model\Stats::getNumBytes
  */
 public function testCanSetAndGetAmountOfBytes($users, $images, $bytes)
 {
     $this->model->setNumBytes($bytes);
     $this->assertSame($bytes, $this->model->getNumBytes());
 }
All Usage Examples Of Imbo\Model\Stats::setNumBytes