/** * Returns the type object this market data refers to. * * @return \iveeCore\Type */ public function getType() { return Type::getById($this->getId()); }
/** * Test that a supercapital cannot be built in a Capital Ship Assembly Array * @expectedException iveeCore\Exceptions\TypeNotCompatibleException */ public function testAssemblyLineException() { $assLine = AssemblyLine::getById(21); $type = Type::getById(23919); $assLine->getModifiersForType($type); }