public function count()
    {
        $c = 0;
        // Using Pimple::$values will return the Closures, so instead get the
        // values in the container via ArrayAccess.
        foreach ($this->keys() as $valueName) {
            if ($this[$valueName] instanceof Slot) {
                ++$c;
            }
        }
        return $c;
    }
public function count()
    {
        $c = 0;
        // Using Pimple::$values will return the Closures, so instead get the
        // values in the container via ArrayAccess.
        foreach ($this->keys() as $valueName) {
            if ($this[$valueName] instanceof Slot) {
                ++$c;
            }
        }
        return $c;
    }
public function count ( ) { $ c = 0 ; // Using Pimple::$values will return the Closures, so instead get the // values in the container via ArrayAccess. foreach ( $ this -> keys ( ) as $ valueName ) { if ( $ this [ $ valueName ] instanceof Slot ) { ++ $ c ; } } return $ c ; }
The number of Slots in the machine

@return integer
The number of Slots in the machine