Storm\Core\Containers\Registrar::GetRegisterableType PHP Method

GetRegisterableType() public method

public GetRegisterableType ( )
    public function GetRegisterableType()
    {
        return $this->RegistrableType;
    }

Usage Example

示例#1
0
 public final function LoadRegistrarFromProperties(Registrar $Registrar)
 {
     $RegisterableType = $Registrar->GetRegisterableType();
     foreach ($this->GetPublicPropertyValues() as $Value) {
         if ($Value instanceof $RegisterableType) {
             $Registrar->Register($Value);
         }
     }
 }