for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Swis\JsonApi\Client\Relations;
class MorphToManyRelation extends AbstractManyRelation
{
/**
* @param string $type
*
* @throws \LogicException
*/
public function setType(string $type)
throw new \LogicException('Type is not set in a MorphToMany-relationships');
}
* @return string
public function getType(): string
throw new \LogicException('Type is not set in a MorphToMany-relationship');