/** * Puts the vehicle into the package. * * @access public * @param modTransportVehicle $vehicle The vehicle to insert into the package. * @return boolean True if successful. */ public function putVehicle($vehicle) { $attr = $vehicle->compile(); $obj = $vehicle->fetch(); return $this->package->put($obj, $attr); }
public function addPHPResolver($filePath) { $this->vehicle->resolve('php', array('source' => $filePath)); return $this; }