/** * * @param Spot_Mapper_Abstract $mapper * @param mixed $identifierCol * @param mixed $credentialCol * @param mixed $saltCol * @return Application_Classes_Auth_Adapter_Spot */ public function __construct(\Spot\Mapper $mapper, $entityName, $identifierCol, $credentialCol, $saltCol) { parent::__construct($mapper, $entityName, $identifierCol, $credentialCol); if (!$mapper->fieldExists($entityName, $saltCol)) { throw new \Saros\Auth\Exception("Salt column of '" . $saltCol . "' is not defined in entity."); } $this->saltCol = $saltCol; }
public function __construct($title, $subtitle, \AppShed\Remote\Style\Image $image = null) { parent::__construct($title, $subtitle); $this->image = $image; }