/** * @test */ public function I_can_use_it_as_scalar_object() { $stringObject = new StringObject('foo'); self::assertInstanceOf(Scalar::getClass(), $stringObject); }
protected function getExternalRootNamespaces() { $scalarReflection = new \ReflectionClass(Scalar::getClass()); return $scalarReflection->getNamespaceName(); }