Swiftriver\Core\ObjectModel\ObjectFactories\ChannelFactory::CreateChannelFromIdentifier PHP 메소드

CreateChannelFromIdentifier() 공개 정적인 메소드

Creates a new Channel obejct from an id string
public static CreateChannelFromIdentifier ( string $identifier ) : Channel
$identifier string
리턴 Swiftriver\Core\ObjectModel\Channel
    public static function CreateChannelFromIdentifier($identifier)
    {
        $channel = new \Swiftriver\Core\ObjectModel\Channel();
        $channel->id = md5($identifier, true);
        return $channel;
    }