Swiftriver\Core\ObjectModel\ObjectFactories\ChannelFactory::CreateChannelFromIdentifier PHP Method

CreateChannelFromIdentifier() public static method

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