services(); $services ->set(DependentPropertySpecification::class, DependentPropertySpecification::class) ->public(); $services ->set(DependencyRepository::class, DependencyRepository::class) ->public() ->args( [ service(PersistenceManager::SERVICE_ID), ] ); $services ->set(DependsOnPropertyValidator::class, DependsOnPropertyValidator::class) ->public() ->args( [ service(DependencyRepository::class), ] ); } }